
#ifndef __CPP_MODULE_CPP_COUNTER_H_
#define __CPP_MODULE_CPP_COUNTER_H_

#include ".MODULE/cpp/wa_interface.h"

/************* Function Block cpp_counter *************/

#ifdef __cplusplus

class cpp_counter : public cpp_counter_Base {
  private:
    cpp_counter(const cpp_counter &);
    cpp_counter &operator=(const cpp_counter &);

  public:
    cpp_counter();
    virtual ~cpp_counter();
    virtual void call(cpp_counter_Data *data) override;
    virtual int save(void *buffer, int size) override;
    virtual bool restore(void *instance_data, int size) override;
};

#endif /* end of __cplusplus */

/*********** End Function Block cpp_counter ***********/

#endif /* end of __CPP_MODULE_CPP_COUNTER_H_ */

